<!-- 加载百度编辑器 -->
<script type="text/javascript" src="./ueditor/ueditor.config.js?v=<{$resVersion}>"></script>
<script type="text/javascript" src="./ueditor/ueditor.all.min.js?v=<{$resVersion}>"></script>
<script> var ue=UE.getEditor('editor'); </script>
<script>
    UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
    UE.Editor.prototype.getActionUrl = function(action) {
        if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage' ) {
            return '<{$EDITOR_UPLOAD_FILE_PATH}>';
        }else if (action == 'uploadvideo') {
            return 'http://a.b.com/video.php';
        } else {
            return this._bkGetActionUrl.call(this, action);
        }
    }
</script>